//WholeLEDSequence
#include <avr/io.h>
#include <util/delay.h>
char const num[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};


int main (void)

{
	DDRB = 0xFF;
	unsigned int i;
	unsigned char j;
	while (1) {	
	for (j = 0 ; j < 17; j = j+1) { 
	PORTB = num[j];
	for (i = 0; i < 1000; i = i+1)
	{
	_delay_loop_2(500);
	
	}
	}
	}
}

